package com.ruoyi.devops.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.devops.domain.ComTemplate;
import org.apache.ibatis.annotations.Param;

public interface ComTemplateMapper extends BaseMapper<ComTemplate> {
    int deleteComTemplate(@Param("id") String id);
    int enableThis(@Param("id") String id);
    int disableOthers(@Param("id") String id);
    int insertIntoHistroyReport(
            @Param("reportName") String reportName,
            @Param("specificType") String specificType,
            @Param("time") String time,
            @Param("checkResult") String checkResult,
            @Param("abnormalityItem") String abnormalityItem,
            @Param("detail") String detail
    );

    int enableThis2(@Param("id") String id);
}
